.class public Lorg/microemu/android/device/AndroidDevice;
.super Ljava/lang/Object;
.source "AndroidDevice.java"

# interfaces
.implements Lorg/microemu/device/Device;


# instance fields
.field private activity:Lorg/microemu/android/MicroEmulatorActivity;

.field private emulatorContext:Lorg/microemu/EmulatorContext;

.field private softButtons:Ljava/util/Vector;

.field private systemProperties:Ljava/util/Map;

.field private ui:Lorg/microemu/device/ui/UIFactory;


# direct methods
.method public constructor <init>(Lorg/microemu/EmulatorContext;Lorg/microemu/android/MicroEmulatorActivity;)V
    .locals 1
    .parameter "emulatorContext"
    .parameter "activity"

    .prologue
    .line 122
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 73
    new-instance v0, Lorg/microemu/android/device/AndroidDevice$1;

    invoke-direct {v0, p0}, Lorg/microemu/android/device/AndroidDevice$1;-><init>(Lorg/microemu/android/device/AndroidDevice;)V

    iput-object v0, p0, Lorg/microemu/android/device/AndroidDevice;->ui:Lorg/microemu/device/ui/UIFactory;

    .line 118
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lorg/microemu/android/device/AndroidDevice;->systemProperties:Ljava/util/Map;

    .line 120
    new-instance v0, Ljava/util/Vector;

    invoke-direct {v0}, Ljava/util/Vector;-><init>()V

    iput-object v0, p0, Lorg/microemu/android/device/AndroidDevice;->softButtons:Ljava/util/Vector;

    .line 123
    iput-object p1, p0, Lorg/microemu/android/device/AndroidDevice;->emulatorContext:Lorg/microemu/EmulatorContext;

    .line 124
    iput-object p2, p0, Lorg/microemu/android/device/AndroidDevice;->activity:Lorg/microemu/android/MicroEmulatorActivity;

    .line 125
    return-void
.end method

.method static synthetic access$000(Lorg/microemu/android/device/AndroidDevice;)Lorg/microemu/android/MicroEmulatorActivity;
    .locals 1
    .parameter "x0"

    .prologue
    .line 67
    iget-object v0, p0, Lorg/microemu/android/device/AndroidDevice;->activity:Lorg/microemu/android/MicroEmulatorActivity;

    return-object v0
.end method


# virtual methods
.method public destroy()V
    .locals 0

    .prologue
    .line 130
    return-void
.end method

.method public getButtons()Ljava/util/Vector;
    .locals 1

    .prologue
    .line 134
    const/4 v0, 0x0

    return-object v0
.end method

.method public getDeviceDisplay()Lorg/microemu/device/DeviceDisplay;
    .locals 1

    .prologue
    .line 138
    iget-object v0, p0, Lorg/microemu/android/device/AndroidDevice;->emulatorContext:Lorg/microemu/EmulatorContext;

    invoke-interface {v0}, Lorg/microemu/EmulatorContext;->getDeviceDisplay()Lorg/microemu/device/DeviceDisplay;

    move-result-object v0

    return-object v0
.end method

.method public getFontManager()Lorg/microemu/device/FontManager;
    .locals 1

    .prologue
    .line 142
    iget-object v0, p0, Lorg/microemu/android/device/AndroidDevice;->emulatorContext:Lorg/microemu/EmulatorContext;

    invoke-interface {v0}, Lorg/microemu/EmulatorContext;->getDeviceFontManager()Lorg/microemu/device/FontManager;

    move-result-object v0

    return-object v0
.end method

.method public getInputMethod()Lorg/microemu/device/InputMethod;
    .locals 1

    .prologue
    .line 146
    iget-object v0, p0, Lorg/microemu/android/device/AndroidDevice;->emulatorContext:Lorg/microemu/EmulatorContext;

    invoke-interface {v0}, Lorg/microemu/EmulatorContext;->getDeviceInputMethod()Lorg/microemu/device/InputMethod;

    move-result-object v0

    return-object v0
.end method

.method public getName()Ljava/lang/String;
    .locals 1

    .prologue
    .line 155
    const/4 v0, 0x0

    return-object v0
.end method

.method public getNormalImage()Ljavax/microedition/lcdui/Image;
    .locals 1

    .prologue
    .line 160
    const/4 v0, 0x0

    return-object v0
.end method

.method public getOverImage()Ljavax/microedition/lcdui/Image;
    .locals 1

    .prologue
    .line 165
    const/4 v0, 0x0

    return-object v0
.end method

.method public getPressedImage()Ljavax/microedition/lcdui/Image;
    .locals 1

    .prologue
    .line 170
    const/4 v0, 0x0

    return-object v0
.end method

.method public getSoftButtons()Ljava/util/Vector;
    .locals 1

    .prologue
    .line 174
    iget-object v0, p0, Lorg/microemu/android/device/AndroidDevice;->softButtons:Ljava/util/Vector;

    return-object v0
.end method

.method public getSystemProperties()Ljava/util/Map;
    .locals 1

    .prologue
    .line 178
    iget-object v0, p0, Lorg/microemu/android/device/AndroidDevice;->systemProperties:Ljava/util/Map;

    return-object v0
.end method

.method public getUIFactory()Lorg/microemu/device/ui/UIFactory;
    .locals 1

    .prologue
    .line 150
    iget-object v0, p0, Lorg/microemu/android/device/AndroidDevice;->ui:Lorg/microemu/device/ui/UIFactory;

    return-object v0
.end method

.method public hasPointerEvents()Z
    .locals 1

    .prologue
    .line 182
    const/4 v0, 0x1

    return v0
.end method

.method public hasPointerMotionEvents()Z
    .locals 1

    .prologue
    .line 186
    const/4 v0, 0x1

    return v0
.end method

.method public hasRepeatEvents()Z
    .locals 1

    .prologue
    .line 190
    const/4 v0, 0x1

    return v0
.end method

.method public init()V
    .locals 0

    .prologue
    .line 196
    return-void
.end method

.method public vibrate(I)Z
    .locals 1
    .parameter "arg0"

    .prologue
    .line 200
    const/4 v0, 0x0

    return v0
.end method
